<template>
  <div class="home">
    <Head  v-show="$route.path != '/comicreader'"/>
    <keep-alive>
      <router-view v-if="$route.meta.KeepAlvie" />
    </keep-alive>
    <router-view v-if="!$route.meta.KeepAlvie" />
    <el-backtop target=".home">
      <i class="el-icon-top"></i>
    </el-backtop>
    <Foot  v-show="$route.path != '/comicreader'"/>
  </div>
</template>

<script>
// @ is an alias to /src
import Head from "../components/Head";
import Foot from "../components/Foot.vue";
export default {
  data() {
    return {};
  },
  methods: {},
  components: {
    Head,
    Foot,
  },
};
</script>
<style scoped lang = 'less'>
.home {
  height: 100%;
  min-width: 1160px;
}
.el-scrollbar__wrap {
  overflow: scroll;
  height: 100%;
}
.page-component__scroll {
  height: 100%;
}
.el-icon-top {
  color: #000;
}
</style>